@extends('home.inc.common')
@section('title')
        <title>好文 - 奇异果聚合</title>
        <meta name="keywords" content="{{$cate_info->seo_key}}" />
        <meta name="description" content="{{$cate_info->seo_intro}}" />
        <link href="{{asset('home_new/css/libs.css')}}" rel="stylesheet" type="text/css" />
        <link href="{{asset('home_new/css/global.css')}}" rel="stylesheet" type="text/css" />
        <link href="{{asset('home_new/css/page2.css')}}" rel="stylesheet" type="text/css" />
        <link href="{{asset('home_new/css/page.css')}}" rel="stylesheet" type="text/css" />
        <link href="{{asset('home_new/css/qyg2016.css')}}" rel="stylesheet" type="text/css" />
        <script type="text/javascript" src="{{asset('home/js/jquery-3.1.0.min.js')}}"></script>
        <style>
            body{
                background: url({{asset('home_new/images/img_75f5025a_stars_bg.png')}})
            }

        </style>
@endsection
  @section('content')
      <div class="wrap">
          <div id="main" style="background:none;">
                @include('home.inc.article_category')
                <div id="main_plusArt" style="padding-top:100px;">
                    <!-- 栏目文章调用 -->
                    <div class="plus_article" style="margin:0 auto 30px;">
                        @if($category)
                            @foreach($category as $v)
                        <div class="index_title clear">
                            <div class="index_titleMain">
                                <a class="global_gaNode plusArt_title" href="{{url('article/cate/'.$v->cate_id)}}">
                                    <h1 style="color: #fff">{{$v->cate_name}}</h1>
                                </a>
                                <a class="global_gaNode index_titleMore" href="{{url('article/cate/'.$v->cate_id)}}">
                                    MORE >
                                </a>
                            </div>
                        </div>
                        <div class="art_wrap clear">
                            <ul class="art_list clear" style="width:1140px;">
                                @foreach($v->archives as $archive)
                                <li class="article_item article_item{{$v->index}}" style="margin-bottom: 20px;">
                                    <a class="global_gaNode" href="{{route('article.show', [$archive->id])}}" target="_blank">
                                        <div class="img_box">
                                            <img src="{{route('image', [trim($archive->cover, '/'), '265x155'])}}"/>
                                            <div class="plus_article_cover">
                                            </div>
                                        </div>
                                        <h3 class="article_title yellow_line" title="{{$archive->title}}">
                                            {{mb_substr($archive->title,0,22)}}
                                        </h3>
                                        <p class="article_content">
                                            {{mb_substr($archive->abstract,0,70)}}
                                        </p>
                                        <span class="article_total index_icons">
                                            {{$archive->visit_count}}
                                        </span>
                                    </a>
                                </li>
                                @endforeach

                            </ul>
                        </div>
                            @endforeach
                            @endif
                    </div>

                    <!-- 栏目文章调用 -->
{{--                    <div class="wrap_go">
                        <span style="right: 160px;"></span>
                        <a href="javascript:;">加载更多</a>
                    </div>--}}
                </div>
            </div>
        </div>
@endsection